package cn.ycl.enums;

/**
 * @author YuanChangLiang
 * @description
 * @date created in 15:39 2021/10/19
 */


public enum OrderStatusEnum {
    /**
     * 已创建
     */
    CREAED(1,"已创建"),

    /**
     * 待支付
     */
    WAIT_PAY(2,"待支付"),

    /**
     * 已支付
     */
    HAD_PAY(3,"已支付"),

    /**
     * 已接单
     */
    RECEIVING(4,"已接单"),
    /**
     * 已发货
     */
    SHIPPED(5,"已发货"),
    /**
     * 已签收
     */
    RECEIVED(6,"已签收"),
    /**
     * 已完成
     */
    COMPLETED(7,"已完成"),
    /**
     * 已取消
     */
    CANCELED(8,"已取消"),
    /**
     * 已退款
     */
    REFUNDED(9,"已退款"),
    /**
     * 已拒绝
     */
    REJECTED(10,"已拒绝"),

    /**
     * 待评价
     */
    EVALUATE(11,"待评价");

    /**
     * 类型
     */
    Integer type;

    /**
     * 类型名称
     */
    String name;

    OrderStatusEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
